package com.cyzy.pojo;


import java.sql.Timestamp;

public class Passenger {

  private Integer userId;
  private String name;
  private String phone;
  private String userAcc;
  private String password;
  private String gender;
  private String avatar;
  private String idCard;
  private java.sql.Timestamp createTime;
  private double balance;
  private Integer userStatus;


  public Passenger() {
  }

  public Passenger(Integer userId, String name, String phone, String userAcc, String password, String gender, String avatar, String idCard, Timestamp createTime, double balance, Integer userStatus) {
    this.userId = userId;
    this.name = name;
    this.phone = phone;
    this.userAcc = userAcc;
    this.password = password;
    this.gender = gender;
    this.avatar = avatar;
    this.idCard = idCard;
    this.createTime = createTime;
    this.balance = balance;
    this.userStatus = userStatus;
  }

  /**
   * 获取
   * @return userId
   */
  public Integer getUserId() {
    return userId;
  }

  /**
   * 设置
   * @param userId
   */
  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  /**
   * 获取
   * @return name
   */
  public String getName() {
    return name;
  }

  /**
   * 设置
   * @param name
   */
  public void setName(String name) {
    this.name = name;
  }

  /**
   * 获取
   * @return phone
   */
  public String getPhone() {
    return phone;
  }

  /**
   * 设置
   * @param phone
   */
  public void setPhone(String phone) {
    this.phone = phone;
  }

  /**
   * 获取
   * @return userAcc
   */
  public String getUserAcc() {
    return userAcc;
  }

  /**
   * 设置
   * @param userAcc
   */
  public void setUserAcc(String userAcc) {
    this.userAcc = userAcc;
  }

  /**
   * 获取
   * @return password
   */
  public String getPassword() {
    return password;
  }

  /**
   * 设置
   * @param password
   */
  public void setPassword(String password) {
    this.password = password;
  }

  /**
   * 获取
   * @return gender
   */
  public String getGender() {
    return gender;
  }

  /**
   * 设置
   * @param gender
   */
  public void setGender(String gender) {
    this.gender = gender;
  }

  /**
   * 获取
   * @return avatar
   */
  public String getAvatar() {
    return avatar;
  }

  /**
   * 设置
   * @param avatar
   */
  public void setAvatar(String avatar) {
    this.avatar = avatar;
  }

  /**
   * 获取
   * @return idCard
   */
  public String getIdCard() {
    return idCard;
  }

  /**
   * 设置
   * @param idCard
   */
  public void setIdCard(String idCard) {
    this.idCard = idCard;
  }

  /**
   * 获取
   * @return createTime
   */
  public Timestamp getCreateTime() {
    return createTime;
  }

  /**
   * 设置
   * @param createTime
   */
  public void setCreateTime(Timestamp createTime) {
    this.createTime = createTime;
  }

  /**
   * 获取
   * @return balance
   */
  public double getBalance() {
    return balance;
  }

  /**
   * 设置
   * @param balance
   */
  public void setBalance(double balance) {
    this.balance = balance;
  }

  /**
   * 获取
   * @return userStatus
   */
  public Integer getUserStatus() {
    return userStatus;
  }

  /**
   * 设置
   * @param userStatus
   */
  public void setUserStatus(Integer userStatus) {
    this.userStatus = userStatus;
  }

  public String toString() {
    return "Passenger{userId = " + userId + ", name = " + name + ", phone = " + phone + ", userAcc = " + userAcc + ", password = " + password + ", gender = " + gender + ", avatar = " + avatar + ", idCard = " + idCard + ", createTime = " + createTime + ", balance = " + balance + ", userStatus = " + userStatus + "}";
  }
}
